package cate.common.table.activity.dungeonup;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "剩余需要清除的本期活动道具")
public class DUNeedClearItemRow extends ERow {
    @NoteField(value = "背包类型")
    public int type;

    @NoteField(value = "物品ID")
    public int tid;

    @NoteField(value = "返还奖励")
    public String returnReward;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.type = xrw.getInteger("背包类型", 0);
        this.tid = xrw.getInteger("物品ID");
        this.returnReward = xrw.getString("返还奖励", "");
    }
}
